package com.ruoyi.ybUpload.mapper;

import java.util.List;
import com.ruoyi.ybUpload.domain.ZsStockTaking;

/**
 * 商品盘存Mapper接口
 *
 * @author ruoyi
 * @date 2024-09-04
 */
public interface ZsStockTakingMapper
{
    /**
     * 查询商品盘存
     *
     * @param id 商品盘存主键
     * @return 商品盘存
     */
    public ZsStockTaking selectZsStockTakingById(Long id);

    /**
     * 查询商品盘存列表
     *
     * @param zsStockTaking 商品盘存
     * @return 商品盘存集合
     */
    public List<ZsStockTaking> selectZsStockTakingList(ZsStockTaking zsStockTaking);

    /**
     * 新增商品盘存
     *
     * @param zsStockTaking 商品盘存
     * @return 结果
     */
    public int insertZsStockTaking(ZsStockTaking zsStockTaking);

    /**
     * 修改商品盘存
     *
     * @param zsStockTaking 商品盘存
     * @return 结果
     */
    public int updateZsStockTaking(ZsStockTaking zsStockTaking);

    /**
     * 删除商品盘存
     *
     * @param id 商品盘存主键
     * @return 结果
     */
    public int deleteZsStockTakingById(Long id);

    /**
     * 批量删除商品盘存
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZsStockTakingByIds(Long[] ids);
}
